/*
 * Copyright (C) 2011-2012 Andrew Wells
 *
 * Licensed under the GNU License, Version 3
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.gnu.org/copyleft/gpl.html
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * 
 * Dungeons & Dragons Copyright (C) Wizards of the Coast. I do not claim
 * the right to any information used from their books or resources.
 */

package com.trace.wells.charactertracker;

import java.io.Serializable;

public class Miscellaneous extends Equipment implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String description;
	private boolean isTemporary;
	private boolean isMagical;
	private int numberOfUses;

	public Miscellaneous(int equipmentType, int value, String name, int weight, String description,
			boolean isTemporary, boolean isMagical, int numberOfUses) {
		super(equipmentType, value, name, weight);
		this.description = description;
		this.isTemporary = isTemporary;
		this.isMagical = isMagical;
		this.numberOfUses = numberOfUses;
	}

	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * @param description
	 *            the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * @return the isTemporary
	 */
	public boolean isTemporary() {
		return isTemporary;
	}

	/**
	 * @param isTemporary
	 *            the isTemporary to set
	 */
	public void setTemporary(boolean isTemporary) {
		this.isTemporary = isTemporary;
	}

	/**
	 * @return the isMagical
	 */
	public boolean isMagical() {
		return isMagical;
	}

	/**
	 * @param isMagical
	 *            the isMagical to set
	 */
	public void setMagical(boolean isMagical) {
		this.isMagical = isMagical;
	}

	/**
	 * @return the numberOfUses
	 */
	public int getNumberOfUses() {
		return numberOfUses;
	}

	/**
	 * @param numberOfUses
	 *            the numberOfUses to set
	 */
	public void setNumberOfUses(int numberOfUses) {
		this.numberOfUses = numberOfUses;
	}

}
